package com.ltedu.common.contants;

/**
 * @ClassName: Constants
 * @Auther: Jerry
 * @Date: 2020-11-6 23:07:25
 * @Desctiption: 通用常量信息
 * @Version: 1.0
 */
public class Constants
{
    /**
     * DEAUFLT头IMG URL
     */
    public static final String DEFAULT_HEAD_IMG_URL = "http://image.snowsea.com.cn/6ee0f6d49a3d492e8014b5dc975f8c63.jpg";

    /**
     * 默认密码
     */
    public static final String DEFAULT_PASSWORD = "123456";

    /**
     * UTF-8 字符集
     */
    public static final String UTF8 = "UTF-8";

    /**
     * GBK 字符集
     */
    public static final String GBK = "GBK";

    /**
     * http请求
     */
    public static final String HTTP = "http://";

    /**
     * https请求
     */
    public static final String HTTPS = "https://";

    /**
     * 成功标记
     */
    public static final Integer SUCCESS = 200;

    /**
     * 失败标记
     */
    public static final Integer FAIL = 500;

    /**
     * 当前记录起始索引
     */
    public static final String PAGE_NUM = "pageNum";

    /**
     * 每页显示记录数
     */
    public static final String PAGE_SIZE = "pageSize";

    /**
     * 失效
     */
    public static final Integer FROZEN = 0;

    /**
     * 正常
     */
    public static final Integer NORMAL = 1;

    /**
     * 未删除
     */
    public static final Integer NOT_DELETED = 0;
    /**
     * 已删除
     */
    public static final Integer IS_DELETED = 1;

    /**
     * 发送验证码缓存key
     */
    public static final String SEND_SMS_KEY = "phone:sms:";

    /**
     * 文件限制大小
     */
    public static final String STORAGE_LIMIT_SIZE = "2";

    /**
     * 文件方案
     */
    public static final String STORAGE_SCHEME = "qiniu";

    /** 菜单类型（目录） */
    public static final Integer TYPE_DIR = 1;

    /** 菜单类型（菜单） */
    public static final Integer TYPE_MENU = 2;

    /** 菜单类型（按钮） */
    public static final Integer TYPE_BUTTON = 3;

    /** Layout组件标识 */
    public final static String LAYOUT = "Layout";

    /** 可见 */
    public static final Integer VISIBLE = 1;

    /** 不可见 */
    public static final Integer UNVISIBLE = 0;

}
